package com.example.testapplication.entity.response;

import com.example.testapplication.entity.ShoppingMsgEntity;

import java.io.Serializable;
import java.util.List;


public class ShoppingMsgResponse implements Serializable {


    private Integer code;

    private String msg;

    private DataDTO data;



    public class DataDTO {

        public PageBeanDTO getPageBean() {
            return pageBean;
        }

        public void setPageBean(PageBeanDTO pageBean) {
            this.pageBean = pageBean;
        }

        private DataDTO.PageBeanDTO pageBean;


        public class PageBeanDTO {

            private Integer total;

            private List<ShoppingMsgEntity> rows;

            public List<ShoppingMsgEntity> getRows() {
                return rows;
            }

            public void setRows(List<ShoppingMsgEntity> rows) {
                this.rows = rows;
            }

            public Integer getTotal() {
                return total;
            }

            public void setTotal(Integer total) {
                this.total = total;
            }
        }
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
